<?php


/*
 * Created on Dec 1, 2009
 * @author Tanner Allison
 * modified by Christopher Sheldahl on Dec. 3, 2009 (SplatPowerCommandParams  
 * class added)
 *
 */

class Antenna {
	var $latlng;
	var $gain;
	var $erp;
	var $isOmni;
	var $direction;
	var $height;
	var $range;

}

/**
 * SplatPowerCommandParams contains parameters commonly needed on the command line for Splat power 
 * calculations.
 */
 class SplatPowerCommandParams {
 		var $workingDirectory;
 		var $splatPath; //path to exectuable  
 		var $transmitterFileName; //if file is "foo.qth"", $transmitterFileName == "foo" - also used
 									//for radiation pattern files, dcf color definition files and lrp
 									//files
 		var $receiverHeight; //in feet
 		var $range; //in miles
 		var $imageFileName;  //if this == "foo" then the ppm files == "foo.ppm" 
 							//and the png file == "foo.png" 
 		var $erp; //effective radiative power - in Watts
 		var $alpha;  //float : 0.0 <= $alpha <= 1.0 - used to control image transparency 
 					//	(0 is total transparency)
 		var $convertPath; //path to imageMagick convert executable
 		var $transLatLng; //LatLng var of the transmitter	
 		var $freq; //frequency in Hz (20 MHz to 20 GHz) (float)
 		var $climate; //integer 1<=$climate <= 7
 		var $polar;  //polarization (0=horizontal; 1 = vertical) (integer)
 } 
 
 
 class SplatOutput {
 	var $image; //$Image object
 	var $splatOutputString;
 }
 
 



?>
